package com.ziyueyuwen.xiniao.bean.homework;

import com.ziyueyuwen.xiniao.enums.QuestionTypeEnum;

import java.util.ArrayList;
import java.util.List;

/**
 * @author jun 2018/12/22.
 */
public class AnswerData {
    private Integer totalScore;
    private Integer correctScore;
    private QuestionTypeEnum questionType;

    /**
     * 主观题答案数据
     */
    private List<ItemData> subjectiveAnswerList;

    /**
     * 客观题答案数据
     */
    private List<String> objectiveAnswerList;

    /**
     * 组合题答案
     */
    private List<AnswerData> groupAnswerDataList;

    public AnswerData() {
        subjectiveAnswerList = new ArrayList<>();
        objectiveAnswerList = new ArrayList<>();
    }

    public Integer getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Integer totalScore) {
        this.totalScore = totalScore;
    }

    public Integer getCorrectScore() {
        return correctScore;
    }

    public void setCorrectScore(Integer correctScore) {
        this.correctScore = correctScore;
    }

    public QuestionTypeEnum getQuestionType() {
        return questionType;
    }

    public void setQuestionType(QuestionTypeEnum questionType) {
        this.questionType = questionType;
    }

    public List<ItemData> getSubjectiveAnswerList() {
        return subjectiveAnswerList;
    }

    public void setSubjectiveAnswerList(List<ItemData> subjectiveAnswerList) {
        this.subjectiveAnswerList = subjectiveAnswerList;
    }

    public List<String> getObjectiveAnswerList() {
        return objectiveAnswerList;
    }

    public void setObjectiveAnswerList(List<String> objectiveAnswerList) {
        this.objectiveAnswerList = objectiveAnswerList;
    }

    public List<AnswerData> getGroupAnswerDataList() {
        return groupAnswerDataList;
    }

    public void setGroupAnswerDataList(List<AnswerData> groupAnswerDataList) {
        this.groupAnswerDataList = groupAnswerDataList;
    }
}
